<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<title>Space Game</title>
		<script type="text/javascript">
			var currentPlayerId = <?php echo (int) $playerId ?>;
			var currentBattleId = <?php echo (int) $battleId ?>;
		</script>
		<link rel="stylesheet" type="text/css" href="css/game.css"></link>
		<script type="text/javascript" src="scripts/mootools-1.2.4-core.js"></script>
		<script type="text/javascript" src="scripts/core/Natives.js"></script>
		<script type="text/javascript" src="scripts/core/Request.Queue.js"></script>
		<script type="text/javascript" src="scripts/core/Config.js"></script>
		<script type="text/javascript" src="scripts/core/Map.js"></script>
		<script type="text/javascript" src="scripts/core/Tile.js"></script>
		<script type="text/javascript" src="scripts/core/TileInfo.js"></script>
		<script type="text/javascript" src="scripts/core/LogItem.js"></script>
		<script type="text/javascript" src="scripts/core/Console.js"></script>
		<script type="text/javascript" src="scripts/core/Unit.js"></script>
		<script type="text/javascript" src="scripts/core/Player.js"></script>
		<script type="text/javascript" src="scripts/core/GameCommand.js"></script>
		<script type="text/javascript" src="scripts/core/GameMove.js"></script>
		<script type="text/javascript" src="scripts/core/GameEng.js"></script>
		<script type="text/javascript" src="scripts/core/Common.js"></script>
		<script type="text/javascript" src="scripts/core/dialogs/SelectUnitDialog.js"></script>
		<script type="text/javascript" src="scripts/core/dialogs/ControlNode.js"></script>
		<script type="text/javascript" src="scripts/core/Init.js"></script>
	</head>
	<body>
		<div id="console">
			<ul id="consoleLog">
			</ul>
			<div id="consoleInputWrapper">
				<textarea name="consoleInput" id="consoleInput"></textarea>
				<span id="consoleChar">&gt;</span>
			</div>
		</div>
		<div id="map">
			<div id="units"></div>
			<div id="tiles"></div>
			<div id="weapons">
				<span class="wpnTrail" id="wpnTrailX"></span>
				<span class="wpnTrail" id="wpnTrailY"></span>
				<span class="wpnMissile" id="wpnMissileTest"></span>
			</div>
		</div>
		<div id="battleToolbar">
			<div id="players">
				<!--  <img src="images/players/captain-popsicle.jpg" alt="" />
				<img src="images/players/captain-binnsboy.jpg" alt="" /> -->
			</div>
			<div id="tileInfo">
				<div class="unitPrev">
					<a class="shield" id="shieldTop"></a>
					<a class="shield" id="shieldRight"></a>
					<a class="shield" id="shieldBottom"></a>
					<a class="shield" id="shieldLeft"></a>
				</div>
				<div class="infName"><label>Name:</label><dfn></dfn></div>
				<div class="infClass"><label>Ship Class:</label><dfn></dfn></div>
				<div class="infCoords"><label>Coordinates:</label><dfn></dfn></div>
				<div class="infBearing"><label>Bearing:</label><dfn></dfn></div>
			</div>
		</div>
		<div id="lbShade"></div>
	</body>
</html>
